export namespace BookAction {
  export class RefreshData {
    static readonly type = `刷新列表数据`;
  }

  export class Collect {
    static readonly type = `收藏图书`;

    constructor(public item: any) {
    }
  }

  export class Edit {
    static readonly type = `编辑图书`;

    constructor(public item: any) {
    }
  }

  export class Save {
    static readonly type = `编辑之后保存图书`;
  }
}
